package com.isesol.arch.common.uitil.redis;

import com.fiftyonred.mock_jedis.*;
import com.wandoulabs.jodis.*;
import redis.clients.jedis.*;

public class MockJedisPool extends JedisPool implements JedisResourcePool {

    private MockJedis client = null;

    public Jedis getResource() {

        if(this.client == null) {

            this.client = new MockJedis("localhost");
        }

        return this.client;
    }
}
